-- GENERATED SPELL FOR [Mimiron] --


function spell0_33350(pUnit, Event) --@Jet Pack,Self--
pUnit:FullCastSpellOnTarget(63341,pUnit)
pUnit:RegisterEvent('Sorts_33350', 520, 1)
end

function Sorts_33350(pUnit, Event)
local choix_sorts_33350 = math.random(0, 0)
if choix_sorts_33350 == 0 then
pUnit:RegisterEvent('spell0_33350', 1, 1)
end
end

function mob33350_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_33350', math.random(1500, 3000), 1)
end

function mob33350_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33350_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33350_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(33350, 1, 'mob33350_Action')
RegisterUnitEvent(33350, 2, 'mob33350_Leave')
RegisterUnitEvent(33350, 3, 'mob33350_Kill')
RegisterUnitEvent(33350, 4, 'mob33350_Die')
